using UnityEngine;

/// <summary>
/// 火炬树桩 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/TorchwoodData")]
public class TorchwoodData : PlantData
{
    [Header("火炬效果")]
    [Tooltip("伤害加成倍数")]
    public float DamageMultiplier = 2.0f;
    
    [Tooltip("影响范围（半径）")]
    public float EffectRange = 1.0f;
    
    [Tooltip("是否将普通豌豆转换为火焰豌豆")]
    public bool ConvertToFirePea = true;
    
    [Tooltip("额外火焰伤害")]
    public long FireDamageBonus = 0;

    private void OnEnable()
    {
        Type = PlantType.Torchwood;
    }
}

